package mp;
//20230404430920沈泽华
import java.util.HashMap;
import java.util.Map;

public class Main {
    public static void main(String[] args) {
        HashMap<String, String> map = new HashMap<>();
        map.put("user1","password1");
        map.put("user2","password2");
        map.put("user5","password5");
        map.put("user3","password3");
        map.put("user4","password4");

       for(Map.Entry<String, String> entry: map.entrySet()){
           System.out.println("用户名："+entry.getKey()+"，密码："+entry.getValue());
       }
    }
}
